﻿using Syspetro.Public.Enums;
using System;

namespace Syspetro.Public.Entity
{
    /// <summary>
    /// 收益统计
    /// </summary>
    public class EarningTotal : MongoBase
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserId { get; set; }
        /// <summary>
        /// 币种
        /// </summary>
        public Coin CoinType { get; set; }
        /// <summary>
        /// 分享算力汇总
        /// </summary>
        public decimal PowerShare { get; set; } = 0;
        /// <summary>
        /// 团队算力汇总
        /// </summary>
        public decimal PowerTeam { get; set; } = 0;
        /// <summary>
        /// 分享收益累计
        /// </summary>
        public decimal EarningShare { get; set; } = 0;
        /// <summary>
        /// 团队收益累计
        /// </summary>
        public decimal EarningTeam { get; set; } = 0;
        /// <summary>
        /// 分享收益累计
        /// </summary>
        public decimal EarningDayShare { get; set; } = 0;
        /// <summary>
        /// 团队收益累计
        /// </summary>
        public decimal EarningDayTeam { get; set; } = 0;
    }
}
